package cn.itsource.basic.util;

/**
 * 常量类
 */
public class Constant {
    //成功的状态码
    public static final String SUCCESS_CODE = "0000";
    //系统错误错误码
    public static final String SYSTEM_ERROR_CODE = "1000";
    //登录失败错误码
    public static final String SYSTEM_LOGIN_CODE = "1001";


    //店铺状态
    public class  Shop{
        public static final int STATE_WAIT_AUTID = 1 ; //"待审核";
        public static final int STATE_WAIT_ACTIVE = 2 ; //"审核通过，待激活";
        public static final int STATE_ACTIVE_SUCCESS = 3 ; //"激活成功";
        public static final int STATE_REJECT_AUDIT = 4 ; //"驳回";
    }

    //员工状态
    public class Employee{
        public static final int STATE_NORMAL = 1 ; //"正常",
        public static final int STATE_LOCK = 2 ; //"锁定",
        public static final int STATE_LOGOUT = 3 ; //"注销"
    }

    //员工状态
    public class User{
        public static final int STATE_NORMAL = 1 ; //"正常",
        public static final int STATE_LOCK = 0 ; //"锁定",
    }


    public static final String END_POINT = "oss-cn-hangzhou.aliyuncs.com";
    // 阿里云账号AccessKey拥有所有API的访问权限，风险很高。强烈建议您创建并使用RAM用户进行API访问或日常运维，请登录RAM控制台创建RAM用户。
    public static final String ACCESS_KEY_ID = "LTAI5tK8wThJZiR2D9Nbcd2r";
    public static final String ACCESS_KEY_SECRET = "5u0xe4glQQMXSTu2tyguDM3i0zRrR8";
    // 填写Bucket名称，例如examplebucket。
    public static final String BUCKET_NAME = "itsourcejava0420";


    //邮件发送者常量
    public static final String MAIL_SENDER = "772593817@qq.com";

}
